<?php
// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2023 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------
use think\facade\Env;
return [
    //默认支付模式
    'default' => 'quickn_pay',
    //支付方式
    'payType' => ['weixin' => '微信支付', 'yue' => '余额支付', 'offline' => '线下支付'],
    'payList' => [
        [
            'name' => '支付宝',
            'bank_code' => 'ALIPAY',
            'logo_url' => 'https://d2x73ruoixi2ei.cloudfront.net/images/logos/channels/120/alipay.gif'
        ],
        [
            'name' => 'Grab',
            'bank_code' => 'GRABPAY',
            'logo_url' => 'https://d2x73ruoixi2ei.cloudfront.net/images/logos/channels/120/GrabPay.gif',
        ]
    ],
    //提现方式
    'extractType' => ['alipay', 'bank', 'weixin'],
    //配送方式
    'deliveryType' => ['send' => '商家配送', 'express' => '快递配送'],
    //驱动模式
    'stores' => [
        //微信支付
        'wechat_pay' => [],
        //支付宝支付
        'ali_pay' => [],
        //余额支付
        'yue' => [],
        'quickn_pay' => [
            'api_env' => Env::get('quickn_pay.api_env', 'sandbox'),
            'api_key' => Env::get('quickn_pay.api_key', 'f0VVO3In9grW'),
            'merchant_id' => Env::get('quickn_pay.merchant_id', '10394'),
            'biller_id' => Env::get('quickn_pay.biller_id', '2031217'),
        ]
    ]
];
